package com.shop.scheduling.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhoulk
 * @since 2019-07-23
 */
public class TbArticle implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文章ID
     */
    @TableId(value = "atc_id", type = IdType.AUTO)
    private Integer atcId;

    /**
     * 作者ID
     */
    private Integer userId;

    /**
     * 作者名
     */
    private String userName;

    /**
     * 分类主题ID
     */
    private Integer topicId;

    /**
     * 分类主题名
     */
    private String topicName;

    /**
     * 文章标题
     */
    private String title;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 文章摘要
     */
    private String summary;

    /**
     * 博客封面图路径
     */
    private String cover;

    /**
     * 博客状态：0-草稿，1-已发布
     */
    private Integer atcState;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 删除时间
     */
    private LocalDateTime dropTime;

    /**
     * 数据状态
     */
    private Integer dataState;


    public Integer getAtcId() {
        return atcId;
    }

    public void setAtcId(Integer atcId) {
        this.atcId = atcId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getTopicId() {
        return topicId;
    }

    public void setTopicId(Integer topicId) {
        this.topicId = topicId;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getAtcState() {
        return atcState;
    }

    public void setAtcState(Integer atcState) {
        this.atcState = atcState;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getDropTime() {
        return dropTime;
    }

    public void setDropTime(LocalDateTime dropTime) {
        this.dropTime = dropTime;
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    @Override
    public String toString() {
        return "TbArticle{" +
        "atcId=" + atcId +
        ", userId=" + userId +
        ", userName=" + userName +
        ", topicId=" + topicId +
        ", topicName=" + topicName +
        ", title=" + title +
        ", content=" + content +
        ", summary=" + summary +
        ", cover=" + cover +
        ", atcState=" + atcState +
        ", createTime=" + createTime +
        ", dropTime=" + dropTime +
        ", dataState=" + dataState +
        "}";
    }
}
